package com.example.mform.service;

import com.example.mform.entity.UserForm;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author shishuqian
 * date 2020/11/24
 * time 14:41
 **/
public interface UserFormService {
    List<UserForm> findAll();
    Page<UserForm> findByPage(Integer page,Integer size);
    UserForm findById(Long id);
    void save(UserForm userForm);
    void update(UserForm userForm);
    void deleteById(Long id);
    //发布或停止表单
    void release(Long id);
}
